From: Jim Blandy Date: Sat, 22 May 1993 09:13:57 +0000 (+0000) Subject: * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar; X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96107 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=929787e104051f3ba7c5bee9d696e754bb8db6fc;p=emacs.git * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar; that feature requires more support to work correctly. --- diff --git a/src/xterm.c b/src/xterm.c index d558f394b3e..a6b7fa4c07f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2295,12 +2295,16 @@ x_scroll_bar_handle_click (bar, event, emacs_event) emacs_event->part = scroll_bar_handle; else emacs_event->part = scroll_bar_below_handle; - + + /* Just because the user has clicked on the handle doesn't mean + they want to drag it. */ +#if 0 /* If the user has just clicked on the handle, record where they're holding it. */ if (event->type == ButtonPress && emacs_event->part == scroll_bar_handle) XSET (bar->dragging, Lisp_Int, y - XINT (bar->start)); +#endif /* If the user has released the handle, set it to its final position. */ if (event->type == ButtonRelease